/**
 * 信息
 */
export interface absototalInfo {
  id?: number;
  type_order?: string;
  total_sales?: number | string;
  total_refund?: number | string;
  remark?: string;
  total_transaction?: number | string;
}

/**
 * 号码查询对象类型
 */
export interface absototalQuery extends PageQuery {
  id?: number;
  type_order?: string;
  total_sales?: string;
  total_refund?: string;
  remark?: string;
  total_transaction?: string;
}

/**
 * 号码分页对象
 */
export type absototalPageVO = {
  /**
   * 项目字段
   */
  id?: number;
  type_order?: string;
  total_sales?: string;
  total_refund?: string;
  remark?: string;
  total_transaction?: string;
} & PageQuery;

/**
 * 表单类型
 */
export interface absototalForm {
  id?: number;
  type_order?: string;
  total_sales?: string | number;
  total_refund?: string | number;
  remark?: string;
  total_transaction?: string;
}

export interface AllDataInfo {
  data?: absototalForm[];
  total_sales?: string;
  total_refund?: string;
  total_transaction?: string;
  [key: string]: any;
}

export interface User_TypeDataInfo {
  data?: absototalForm[];
  order_total?: number;
  [key: string]: any;
}

export class ChartTotalData {
  counts: number = 0;
  id: number = 0;
  totalprice: string = "";
  user_type: string = "";
}

export type ChartTotalVo = {
  page?: number;
  pagesize?: number;
  counts?: number;
  id?: number;
  totalprice?: string;
  user_type?: string;
} & ChartTotalData;
